<?php
//后台管理中心控制器
	namespace Application\Admin\Controller;
	class Index extends Admin{
		public function index(){
			$this->render();
		}
		public function logout(){
			unset($_SESSION['loginName']);
			echo "<script>window.location.href='index.php?m=admin&c=login&a=index';</script>";
		}
	}
?>